//
//  NetworkConnection.h
//  jboss-admin
//
//  Created by Christos Vasilakis on 03/07/2010.
//  Copyright 2010 All rights reserved.
//

#import <Foundation/Foundation.h>


#define kWARPath @"deployments/war"
#define kEARPath @"deployments/ear"

@interface FetchJSONOperation : NSOperation {

	NSString *hostname;
	NSString *path;
	id	  targetObject;
	SEL	  targetMethod;
}

-(id)initJSONRequestForServer:(NSString *)hostname path:(NSString *)path target:(id)targClass targetMethod:(SEL)targClassMethod;

@end
